const level = 'A'
const rel_A = 25,
  check_val = rel_A - level.charCodeAt() + 65

document.querySelectorAll('#evaluateTB>tr').forEach(e => {
  e.querySelectorAll('input').forEach(ipt => {
    ipt.checked = false
    ipt.value == check_val ? (() => {
      ipt.checked = true
    })() : null
  })
})
document.querySelector("#btnSave").click()

fetch("http://jiaowu.stiei.edu.cn:8080/eams/evaluateStd!save.action", {
  headers: {
    accept: "*/*",
    "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",
    "content-type": "application/x-www-form-urlencoded",
    "x-requested-with": "XMLHttpRequest"
  },
  referrerPolicy: "strict-origin-when-cross-origin",
  body: JSON.stringfiy({teacherId:5643131
  ,select89:25  ,select90:25  ,select70:25  ,select91:25  ,select71:25  ,select72:25  ,select73:25  ,select74:25  ,select75:25  ,select76:25  ,select92:25  ,select93:25  ,select94:25  ,select95:25  ,select77:25  ,select78:25  ,evaluateResult.remark,
    semester.id:890
  ,lesson.id:102989
  ,teacher.ids:5643131
  }),
  method: "POST",
  mode: "cors",
  credentials: "include"
});
